package com.jiezuo.auth.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jiezuo.auth.entity.Position;
import com.jiezuo.auth.entity.User;

import java.util.List;

/**
* @description   岗位
* @author        庞留杰
* @date          2024/03/01 15:03
* @version       V1.0
**/
public interface PositionService extends IService<Position>  {

    IPage<Position> findPage(Page initMpPage,Position position);

    List<Position> findList(Position position);

    Position findById(String id);

    boolean add(Position position);

    boolean update(Position position);

    boolean delete(String id);

    List<User> findUserListByPositionId(String position_id);

}
